* Project settings

assert c(version) == 16
set more off
set varabbrev off
set linesize 150
set type double

* Confirm that global pointing to project directory is not missing
assert !missing("$SSDIMed")

* All required Stata modules are available in the /_packages and /_auxiliary folders
* cap adopath - "/home/site/etc/stata/ado.nber"
* cap adopath - "/home/site/etc/stata/ado.nber/updates"
* qui adopath ++ "$SSDIMed/scripts/_packages"
* qui adopath ++ "$SSDIMed/scripts/_auxiliary"
tokenize `"$S_ADO"', parse(";")
while `"`1'"' != "" {
  cap adopath - `"`1'"'
  macro shift
}
qui adopath ++ "$SSDIMed/scripts/_packages"
qui adopath ++ "$SSDIMed/scripts/_auxiliary"
qui adopath + BASE
qui adopath + PERSONAL
adopath

* Display system information
di "Running Stata `c(stata_version)' on machine `c(hostname)' (`c(os)': `c(machine_type)')" 

* Display current time
local time = clock("`c(current_date)' `c(current_time)'", "DMY hms")
di %tc `time'
